//
//  RABookDetailBottomView.h
//  ReadApp
//
//  Created by 飞猪 on 2018/11/8.
//  Copyright © 2018年 Facebook. All rights reserved.
//

#import <UIKit/UIKit.h>
@class RABookDetailBottomView;

typedef NS_ENUM(NSUInteger, RABookDetailBottomViewType) {
  RABookDetailBottomViewTypeJoin,
  RABookDetailBottomViewTypeRead
};

@protocol RABookDetailBottomViewDelegate <NSObject>

- (void)bookDetailBottomView:(RABookDetailBottomView *)view type:(RABookDetailBottomViewType)type;

@end

@interface RABookDetailBottomView : UIView

@property (nonatomic, weak  ) id<RABookDetailBottomViewDelegate> delegate;

- (void)setJoinBookHidden;

@end
